import request from '@/utils/request'

// 获取全部数据
export const getsublistFn = (date) => {
  return request({
    url: '/throttling/list',
    method: 'get',
    params:date
  })
}
//查询
export const selectsublistFn = (acount) => {
  return request({
    url: '/throttling/list?acount=' + acount,
    method: 'get'
  })
}

//修改
export const updatesublistFn = (data) => {
  return request({
    url: '/throttling/update',
    method: 'post',
    data:data
  })
}

//level列表
export const getlevellistFn = (sid) => {
  return request({
    url: '/throttling/getThrottling?sid=' + sid,
    method: 'get',

  })
}
